package SingletonPattern;

public class SingletonPatten {
    private static SingletonPatten instance = new SingletonPatten();

    private SingletonPatten(){};

    public static SingletonPatten getInstance(){
        return instance;
    }

    public void show(){
        System.out.println("this is singleton pattern test");
    }
}
